package com.transfer.entity;

/**
 * AccountInfo entity. @author MyEclipse Persistence Tools
 */

@SuppressWarnings("serial")
public class AccountInfo implements java.io.Serializable {

	// Fields

	private Integer id;
	private String name;
	private Double balance;

	// Constructors

	/** default constructor */
	public AccountInfo() {
	}

	/** full constructor */
	public AccountInfo(String name, Double balance) {
		this.name = name;
		this.balance = balance;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Double getBalance() {
		return this.balance;
	}

	public void setBalance(Double balance) {
		this.balance = balance;
	}

	@Override
	public String toString() {
		return "AccountInfo [id=" + id + ", name=" + name + ", balance="
				+ balance + "]";
	}

}